const express=require('express')
const path=require('path')
const app=express()
//静态目录
app.use(express.static(path.join(__dirname,'./static')))


app.listen(8000,()=>{
    console.log('server starting')
})